package www.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import www.mapper.VehicleInfoMapper;

import java.util.List;
import java.util.Map;

@Service
public class VehicleService {

    @Autowired
    private VehicleInfoMapper vehicleInfoMapper;

    public List<String> getUsableVehicle(String env) {
        return vehicleInfoMapper.querySpuCodeByEnv(env);
    }

    public List<String> getUsableVehicle2(String env) {
        return vehicleInfoMapper.getUsableVehicle2(env);
    }
}